<template>
    <div class="home">
        <LeftMenuView :show="leftShow" @text="showKey" @value="showValue"></LeftMenuView>
        <RightContentView @menuChange="getRightValue" :getKey="keyShow" :getValue="valueShow"></RightContentView>
    </div>
</template>

<script>
    import LeftMenuView from "@/views/LeftMenuView";
    import RightContentView from "@/views/RightContentView";
    export default {
        name: "HomeView",
        components:{LeftMenuView,RightContentView},
        data(){
            return{
                leftShow:false,
                keyShow:"小区管理",
                valueShow:""
            }
        },
        methods:{
            getRightValue(show){
                this.leftShow = show;
            },
            showKey(getkey){
                this.keyShow = getkey;
            },
            showValue(value){
                this.valueShow =value;
            }
        }
    }
</script>

<style scoped>

</style>